package com.example.campus_order_sb.service;

import com.example.campus_order_sb.dto.CategoryRequest;
import com.example.campus_order_sb.entity.Category;
import java.util.List;

public interface CategoryService {
    List<Category> getAllCategories();
    
    Category getCategoryById(Integer id);
    
    Category createCategory(CategoryRequest categoryRequest);
    
    Category updateCategory(Integer id, CategoryRequest categoryRequest);
    
    void deleteCategory(Integer id);
}
